<template>
	<view class="dev">
		<view class="revenueTitle">
			<view class="msg" @tap="show2 = true">
				<text>2024/08</text>
				<image src="@/static/img/down.png" mode=""></image>
			</view>
		</view>
		<view class="box">
			<view class="clock_Item">
				<view class="Item_title">
					<view>
						<image src="@/static/img/ceshi.jpg" />
						<text>昵称(0375)</text>
					</view>
					<view>xx部门</view>
				</view>
				<view class="Item_time">
					<view>
						<text>当日07:30-08:30卡</text>
						<text>已打卡</text>
					</view>
					<view>
						<text>当日11:30-13:00卡</text>
						<text>已打卡</text>
					</view>
					<view>
						<text>当日13:30-14:30卡</text>
						<text>已打卡</text>
					</view>
					<view>
						<text>当日17:00-19:00卡</text>
						<text style="color: #fc1f1f">未打卡</text>
					</view>
				</view>
				<view class="Item_date">2024/08/08</view>
			</view>
		</view>
		<u-datetime-picker
			:show="show2"
			v-model="value1"
			mode="year-month"
			:maxDate="maxDate"
			@cancel="show2 = false"
			@close="show2 = false"
			:closeOnClickOverlay="true"></u-datetime-picker>
	</view>
</template>

<script>
export default {
	data() {
		return {
			show2:false,
			value1: Number(new Date()),
			maxDate: Number(new Date()),
		};
	},
	onShow() {},
	onLoad() {},
	methods: {}
};
</script>

<style lang="scss">
page {
	background-color: #f2f2f2;

	.revenueTitle {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		background: #fff;
		position: fixed;
		top: 44px;
		left: 0;
		.msg {
			width: 100%;
			display: flex;
			align-items: center;
			justify-content: center;
			text {
				display: block;
				text-align: center;
				padding: 7px 0;
				box-sizing: border-box;
				font-size: 12px;
				color: #232323;
			}
			image {
				width: 16px;
				height: 16px;
			}
		}
	}

	.box {
		padding: 30px 15px;
		box-sizing: border-box;

		.clock_Item {
			margin-top: 14px;
			padding: 11px 15px;
			box-sizing: border-box;
			background: #fff;
			border-radius: 6px 6px 6px 6px;

			.Item_title {
				display: flex;
				align-items: center;
				justify-content: space-between;
				padding-bottom: 7px;
				font-size: 12px;
				color: #999999;
				border-bottom: 1px solid #e2e2e2;

				view {
					font-size: 28rpx;
					color: #3d3d3d;
					display: flex;
					align-items: center;

					image {
						width: 28px;
						height: 28px;
						border-radius: 50%;
						margin-right: 10px;
					}
				}
			}

			.Item_time {
				border-bottom: 1px solid #e2e2e2;

				view {
					margin: 10px 0;
					display: flex;
					align-items: center;
					justify-content: space-between;
					font-size: 16px;
					color: #666666;

					text:nth-child(2) {
						color: #232323;
					}
				}
			}

			.Item_date {
				margin: 7px 0;
				font-size: 12px;
				color: #999999;
			}
		}
	}
}
</style>
